<?

require_once("config.php");

if (!isset($_GET['notemplate']))
require_once("lib/incs/template/core_index_header.php");


?>

	<?	
	if (file_exists("lib/".$current_folder."/".$current_page.".php")) {
		include("lib/".$current_folder."/".$current_page.".php");
	} else {
		include('lib/not_found.php');
	}
	?>


<?if (isset($_GET['changelang'])) { $_SESSION['local_language']=$_GET['changelang']; gotopage("?");}?>


<?
if (!isset($_GET['notemplate']))
require_once("lib/incs/template/core_index_footer.php");
?>
